export class CommodityBaseInfoModel {
    constructor(private _id: number,
                private _price: number,
                private _unit: string,
                private _baseInfoDescription: string,
                private _commentAmount: number,
                private _provinceInfo: string,
                private _showImage: number) {
    }

    get id(): number {
        return this._id;
    }

    set id(value: number) {
        this._id = value;
    }

    get price(): number {
        return this._price;
    }

    set price(value: number) {
        this._price = value;
    }

    get unit(): string {
        return this._unit;
    }

    set unit(value: string) {
        this._unit = value;
    }

    get baseInfoDescription(): string {
        return this._baseInfoDescription;
    }

    set baseInfoDescription(value: string) {
        this._baseInfoDescription = value;
    }

    get commentAmount(): number {
        return this._commentAmount;
    }

    set commentAmount(value: number) {
        this._commentAmount = value;
    }

    get provinceInfo(): string {
        return this._provinceInfo;
    }

    set provinceInfo(value: string) {
        this._provinceInfo = value;
    }

    get showImage(): number {
        return this._showImage;
    }

    set showImage(value: number) {
        this._showImage = value;
    }
}